package com.core.cloudbusiness.system.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.core.cloundbusinessapi.system.user.dto.CloudSystemUserDTO;
import com.core.cloundbusinessapi.system.user.vo.CloudSystemAddUserVO;
import com.core.cloundbusinessapi.system.user.vo.CloudSystemQueryListUserVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author =====Lqj=====
 * @className CloudSystemUserMapper
 * @description
 * @create 2024/11/14 16:38
 **/
@Mapper
public interface CloudSystemUserMapper extends BaseMapper<CloudSystemUserDTO> {

    /**
     * 根据条件查询，不带如何条件直接报错
     * @param cloudSystemUserVO
     * @return
     */
    List<CloudSystemUserDTO> selectSysUser(@Param("cloudSystemUserVO") CloudSystemQueryListUserVO cloudSystemUserVO);

    void updateLoginTime(@Param("id") Long id);
}
